package com.rui.factory.method.model;

import com.rui.factory.obj.Coffee;
import com.rui.factory.obj.Mocha;

/**
 * Mocha工厂类
 */
public class MochaFactory implements CoffeeFactory {

    @Override
    public Coffee create() {
        return new Mocha();
    }
}